<?php
/*

Copyright 2009 Matthew C. Dettinger

This program is free software: you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

// database information
$config[db][host] = 'localhost'; // Can be either a host name or an IP address. Passing the NULL value or the string "localhost" to this parameter, the local host is assumed. When possible, pipes will be used instead of the TCP/IP protocol.
$config[db][username] = ''; // The MySQL user name. 
$config[db][password] = ''; // If not provided or NULL, the MySQL server will attempt to authenticate the user against those user records which have no password only. This allows one username to be used with different permissions (depending on if a password as provided or not). 
$config[db][dbname] = ''; // If provided will specify the default database to be used when performing queries. 
$config[db][port] = '3306'; // Specifies the port number to attempt to connect to the MySQL server. 3306 is the MySQL default port.
$config[db][socket] = '/tmp/mysql.sock'; //Specifies the socket or named pipe that should be used. Note: Specifying the socket  parameter will not explicitly determine the type of connection to be used when connecting to the MySQL server. How the connection is made to the MySQL database is determined by the host  parameter.

$config[session][expire_time] = '240'; // number of seconds before session expires and re-authentication is required.


?>